package com.yenlien.traceyun.business.entity;

import com.yenlien.traceyun.business.trace.Trace;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 加工原料
 *
 * @author maybe
 * @date 2020年7月28日
 */
@Entity
@Table(name = "t_plant_process_material")
@Trace(appName = "plant", stepName = "processMaterial", order = 4, crossPoint = {"trace:reapDetail", "purchase:storageManage"})
public class ProcessMaterial extends TraceScanEntity {
    @Column
    private String processId;        //加工ID
    @Column
    private String breedId;            //品名ID
    @Column
    private String breedName;        //品名
    @Column
    private String batch;            //批次
    @Column
    private String source;            //来源
    @Column
    private String place;            //地块或供应商
    @Column
    private String bagNumber;        //包数
    @Column
    private String number;            //数量
    @Column
    private String units;            //单位
    @Column
    private String type;            //类型(基地采收、采购入库)

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId;
    }

    public String getBreedId() {
        return breedId;
    }

    public void setBreedId(String breedId) {
        this.breedId = breedId;
    }

    public String getBreedName() {
        return breedName;
    }

    public void setBreedName(String breedName) {
        this.breedName = breedName;
    }

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getBagNumber() {
        return bagNumber;
    }

    public void setBagNumber(String bagNumber) {
        this.bagNumber = bagNumber;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getUnits() {
        return units;
    }

    public void setUnits(String units) {
        this.units = units;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
